home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / MPW Related / MPW Interfaces / CIncludes / SegLoad.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-17  |  1001 b   |  54 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        SegLoad.h
  3.  
  4.     Copyright:    © 1983-1993 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Version:    System 7.1 for ETO #11
  8.     Created:    Tuesday, March 30, 1993 18:00
  9.  
  10. */
  11.  
  12. #ifndef __SEGLOAD__
  13. #define __SEGLOAD__
  14.  
  15. #ifndef __TYPES__
  16. #include <Types.h>
  17. #endif
  18.  
  19.  
  20. enum {
  21.  
  22.     appOpen = 0,    /*Open the Document (s)*/
  23.     appPrint = 1    /*Print the Document (s)*/
  24. };
  25.  
  26. struct AppFile {
  27.     short vRefNum;
  28.     OSType fType;
  29.     short versNum;  /*versNum in high byte*/
  30.     Str255 fName;
  31. };
  32.  
  33. typedef struct AppFile AppFile;
  34.  
  35.  
  36. #ifdef __cplusplus
  37. extern "C" {
  38. #endif
  39. pascal void UnloadSeg(void * routineAddr)
  40.     = 0xA9F1; 
  41. pascal void ExitToShell(void)
  42.     = 0xA9F4; 
  43. pascal void GetAppParms(Str255 apName,short *apRefNum,Handle *apParam)
  44.     = 0xA9F5; 
  45. pascal void CountAppFiles(short *message,short *count); 
  46. pascal void GetAppFiles(short index,AppFile *theFile); 
  47. pascal void ClrAppFiles(short index); 
  48. void getappparms(char *apName,short *apRefNum,Handle *apParam); 
  49. #ifdef __cplusplus
  50. }
  51. #endif
  52.  
  53. #endif
  54.